package com.wang.web3.bean;

import java.util.List;

/**
 * Created by SAR on 2018/6/7.
 */

public class BoxListBean {

    /**
     * msg : 操作成功
     * code : 0
     * pagination : {"pageIndex":1,"pageSize":10,"totalItems":3}
     * data : [{"id":4,"categoryId":null,"boxName":"少女宝箱","boxPrice":null,"boxDesc":"少女宝箱","boxPic":"http://p6nuqct3n.bkt.clouddn.com/girl_box_1.png","boxAddress":"0x4f364cd3d9b2fc899111b21d151ffb196a57002f","boxStatus":null,"rateSsr":null,"rateSr":null,"rateR":null,"rateN":null,"rateItem":null,"createTime":null,"openTime":null,"girlId":null,"itemId":null,"itemNum":null,"keyId":2,"keyAddress":"0x903fbfab14eff397eb163accf6eb346b351ba790","keyName":null,"keyRequired":"2","itemWeightList":null},{"id":5,"categoryId":null,"boxName":"道具宝箱","boxPrice":null,"boxDesc":"道具宝箱描述信息","boxPic":"http://p6nuqct3n.bkt.clouddn.com/girl_box_1.png","boxAddress":"0x685cb8f64c1c5cf4803e99b21f9304c1322aa554","boxStatus":null,"rateSsr":null,"rateSr":null,"rateR":null,"rateN":null,"rateItem":null,"createTime":null,"openTime":null,"girlId":null,"itemId":null,"itemNum":null,"keyId":2,"keyAddress":"0x903fbfab14eff397eb163accf6eb346b351ba790","keyName":null,"keyRequired":"2","itemWeightList":null},{"id":6,"categoryId":null,"boxName":"超级宝箱","boxPrice":null,"boxDesc":"超级宝箱","boxPic":"http://p6nuqct3n.bkt.clouddn.com/girl_box_1.png","boxAddress":"0xceb69e75b39d1b27e9d28a593e615212f6c6b191","boxStatus":null,"rateSsr":null,"rateSr":null,"rateR":null,"rateN":null,"rateItem":null,"createTime":null,"openTime":null,"girlId":null,"itemId":null,"itemNum":null,"keyId":2,"keyAddress":"0x903fbfab14eff397eb163accf6eb346b351ba790","keyName":null,"keyRequired":"1","itemWeightList":null}]
     */

    private String msg;
    private String code;
    private PaginationBean pagination;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public PaginationBean getPagination() {
        return pagination;
    }

    public void setPagination(PaginationBean pagination) {
        this.pagination = pagination;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class PaginationBean {
        /**
         * pageIndex : 1
         * pageSize : 10
         * totalItems : 3
         */

        private int pageIndex;
        private int pageSize;
        private int totalItems;

        public int getPageIndex() {
            return pageIndex;
        }

        public void setPageIndex(int pageIndex) {
            this.pageIndex = pageIndex;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalItems() {
            return totalItems;
        }

        public void setTotalItems(int totalItems) {
            this.totalItems = totalItems;
        }
    }

    public static class DataBean {
        /**
         * id : 4
         * categoryId : null
         * boxName : 少女宝箱
         * boxPrice : null
         * boxDesc : 少女宝箱
         * boxPic : http://p6nuqct3n.bkt.clouddn.com/girl_box_1.png
         * boxAddress : 0x4f364cd3d9b2fc899111b21d151ffb196a57002f
         * boxStatus : null
         * rateSsr : null
         * rateSr : null
         * rateR : null
         * rateN : null
         * rateItem : null
         * createTime : null
         * openTime : null
         * girlId : null
         * itemId : null
         * itemNum : null
         * keyId : 2
         * keyAddress : 0x903fbfab14eff397eb163accf6eb346b351ba790
         * keyName : null
         * keyRequired : 2
         * itemWeightList : null
         */

        private int id;
        private Object categoryId;
        private String boxName;
        private Object boxPrice;
        private String boxDesc;
        private String boxPic;
        private String boxAddress;
        private Object boxStatus;
        private Object rateSsr;
        private Object rateSr;
        private Object rateR;
        private Object rateN;
        private Object rateItem;
        private Object createTime;
        private Object openTime;
        private Object girlId;
        private Object itemId;
        private Object itemNum;
        private int keyId;
        private String keyAddress;
        private Object keyName;
        private String keyRequired;
        private Object itemWeightList;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public Object getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(Object categoryId) {
            this.categoryId = categoryId;
        }

        public String getBoxName() {
            return boxName;
        }

        public void setBoxName(String boxName) {
            this.boxName = boxName;
        }

        public Object getBoxPrice() {
            return boxPrice;
        }

        public void setBoxPrice(Object boxPrice) {
            this.boxPrice = boxPrice;
        }

        public String getBoxDesc() {
            return boxDesc;
        }

        public void setBoxDesc(String boxDesc) {
            this.boxDesc = boxDesc;
        }

        public String getBoxPic() {
            return boxPic;
        }

        public void setBoxPic(String boxPic) {
            this.boxPic = boxPic;
        }

        public String getBoxAddress() {
            return boxAddress;
        }

        public void setBoxAddress(String boxAddress) {
            this.boxAddress = boxAddress;
        }

        public Object getBoxStatus() {
            return boxStatus;
        }

        public void setBoxStatus(Object boxStatus) {
            this.boxStatus = boxStatus;
        }

        public Object getRateSsr() {
            return rateSsr;
        }

        public void setRateSsr(Object rateSsr) {
            this.rateSsr = rateSsr;
        }

        public Object getRateSr() {
            return rateSr;
        }

        public void setRateSr(Object rateSr) {
            this.rateSr = rateSr;
        }

        public Object getRateR() {
            return rateR;
        }

        public void setRateR(Object rateR) {
            this.rateR = rateR;
        }

        public Object getRateN() {
            return rateN;
        }

        public void setRateN(Object rateN) {
            this.rateN = rateN;
        }

        public Object getRateItem() {
            return rateItem;
        }

        public void setRateItem(Object rateItem) {
            this.rateItem = rateItem;
        }

        public Object getCreateTime() {
            return createTime;
        }

        public void setCreateTime(Object createTime) {
            this.createTime = createTime;
        }

        public Object getOpenTime() {
            return openTime;
        }

        public void setOpenTime(Object openTime) {
            this.openTime = openTime;
        }

        public Object getGirlId() {
            return girlId;
        }

        public void setGirlId(Object girlId) {
            this.girlId = girlId;
        }

        public Object getItemId() {
            return itemId;
        }

        public void setItemId(Object itemId) {
            this.itemId = itemId;
        }

        public Object getItemNum() {
            return itemNum;
        }

        public void setItemNum(Object itemNum) {
            this.itemNum = itemNum;
        }

        public int getKeyId() {
            return keyId;
        }

        public void setKeyId(int keyId) {
            this.keyId = keyId;
        }

        public String getKeyAddress() {
            return keyAddress;
        }

        public void setKeyAddress(String keyAddress) {
            this.keyAddress = keyAddress;
        }

        public Object getKeyName() {
            return keyName;
        }

        public void setKeyName(Object keyName) {
            this.keyName = keyName;
        }

        public String getKeyRequired() {
            return keyRequired;
        }

        public void setKeyRequired(String keyRequired) {
            this.keyRequired = keyRequired;
        }

        public Object getItemWeightList() {
            return itemWeightList;
        }

        public void setItemWeightList(Object itemWeightList) {
            this.itemWeightList = itemWeightList;
        }
    }
}
